package top.mataiji.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.mataiji.manager.pojo.On_sale;
import top.mataiji.manager.pojo.On_saleExample;

import java.util.List;

@Mapper
public interface On_saleMapper {
    long countByExample(On_saleExample example);

    int deleteByExample(On_saleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(On_sale record);

    int insertSelective(On_sale record);

    List<On_sale> selectByExample(On_saleExample example);

    On_sale selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") On_sale record, @Param("example") On_saleExample example);

    int updateByExample(@Param("record") On_sale record, @Param("example") On_saleExample example);

    int updateByPrimaryKeySelective(On_sale record);

    int updateByPrimaryKey(On_sale record);
}
